package me.hl.feign;

import feign.Body;
import feign.Headers;
import feign.Param;
import feign.RequestLine;

/**
 * Created by yy on 2016/8/1.
 */
public interface CheckService {
    @RequestLine("POST /index/check")
    @Headers({"Accept:application/json, text/javascript, */*; q=0.01"
            , "Content-Type: application/x-www-form-urlencoded; charset=UTF-8"
            , "Host: www.67960.com"})
    @Body("text:{name}")
    String check(@Param("name") String name);
}
